# -*- coding: utf-8 -*-
"""
Created on Thu Apr 25 12:41:24 2019

@author: yaoyu
"""

fname='text.txt'
fo = open(fname)
ls = []
for line in fo:
    line = line.replace('\n','')
    ls.append(line.split(','))
fo.close()
print(ls)